package cn.com.jinhao.provider.business.vo;

import cn.com.jinhao.provider.business.entity.Attach;
import cn.com.jinhao.provider.business.entity.Dispatch;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.Valid;
import java.util.List;

/**
 * 派单信息请求类
 *
 * @author ShaneWei
 */
@Data
@ToString
@ApiModel(value = "DispatchReqeustVo", description = "派单请求信息")
public class DispatchReqeustVo {
    @ApiModelProperty(value = "派单信息")
    @Valid
    private List<Dispatch> dispatches;

//    @ApiModelProperty(value = "附件")
//    @Valid
//    private List<Attach> attaches;
}